package Inheritance;

public class UG extends Student {
	
	public UG() {
		
	};
	
	public void printFavBeer() {
		System.out.println("I drink " + this.favBeer);
	}
	
	public void printName() {
		System.out.println("My name is " + this.name);
	}
	
	public void printOpinion() {
		System.out.println("Shouts " + this.opinion);
	}
	
	public void printMatric() {
		System.out.println("Matric Number: " + this.matricNum);
	}
}
